<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>留言板,享你所想</title>
    <link rel="stylesheet" href="./css/leaveMessage.css">
</head>

<body>
<div class="contact-form">
    <h1>留言</h1>
    <div>
        <form action="UpdateMessageServlet?mid=${requestScope.mid}" method="post">

            <input type="hidden" name="action" value="leave">
            <div class="txtb">
                <p>标题</p>
                <textarea name="title"  rows="1" cols="60"  required>${requestScope.title}</textarea>
            </div>
            <div class="txtb">
                <p>留言</p>
                <textarea name="context" cols="60" rows="8"   required>${requestScope.textArea}</textarea><br>
            </div>
            <div class="txta">
                <input class="btn" type="submit" value="修改">
            </div>

        </form>


    </div>
</body>
</html>